package com.xingchi.tornado.log.event;

import com.xingchi.tornado.log.model.dto.OperateLogDTO;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * 操作日志事件
 *
 * @author xiaoya
 * @date 2024/9/26 17:22
 */
@Getter
public class OperateLogEvent extends ApplicationEvent {

    private final OperateLogDTO operateLogDTO;

    public OperateLogEvent(OperateLogDTO operateLogDTO) {
        super(operateLogDTO);
        this.operateLogDTO = operateLogDTO;
    }
}
